package com.un.ebs.core.common;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 通用分组对象
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class GroupInfo implements Serializable {

    private String id;

    private String name;

    private int count;

    private String tag;

    public GroupInfo(String id, String name) {
        this.id = id;
        this.name = name;
    }

    public GroupInfo(String id,String name,int count){
        this.id=id;
        this.name=name;
        this.count=count;
    }
}
